


#include "user_struct.h"
#include "signal_handle.h"

#include "uart_comm_ex_api.h"

#include "ntc_lookup.h"

#include "system_param.h"
#include "offline_param.h"




/*!
    \brief      
    \param[in]  none
    \param[out] none
    \retval     none
*/

void AD_signal_convert(void)
{
	
	userHdl.signal.real.vdc_plate = SF_VDC_CONVERT_V * userHdl.signal.rslt.vdc_plate;
	userHdl.signal.real.vdc_charge = SF_VDC_CONVERT_V * userHdl.signal.rslt.vdc_charge;
	
	userHdl.signal.real.temp_x1 = ntcTempLookUp(userHdl.signal.rslt.temp_x1, &PCB_NTC_Table[0][0]);
	userHdl.signal.real.temp_x2 = ntcTempLookUp(userHdl.signal.rslt.temp_x2, &PCB_NTC_Table[0][0]);	
	
	userHdl.signal.real.level_X1 = userHdl.signal.rslt.level_X1;
	userHdl.signal.real.level_X2 = userHdl.signal.rslt.level_X2;
	
	userHdl.signal.real.water_X1 = userHdl.signal.rslt.water_X1;
	userHdl.signal.real.water_X2 = userHdl.signal.rslt.water_X2;
	
	
	
}





















